package cn.youyeku.zsxh.bean;

import java.io.Serializable;

/**
 * Created by youye on 17-4-16.
 */

public class question_data implements Serializable {


    private String question_id;
    private String question_desc;
    private String question_data;
    private String teacher_uid;
    private String nick_name;
    private String question_sum;

    public String getQuestion_sum() {
        return question_sum;
    }

    public void setQuestion_sum(String question_sum) {
        this.question_sum = question_sum;
    }

    public question_data(String question_id, String question_desc, String question_data, String teacher_uid, String nick_name) {
        this.question_id = question_id;
        this.question_desc = question_desc;
        this.question_data = question_data;
        this.teacher_uid = teacher_uid;
        this.nick_name = nick_name;
    }

    public String getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(String question_id) {
        this.question_id = question_id;
    }

    public String getQuestion_desc() {
        return question_desc;
    }

    public void setQuestion_desc(String question_desc) {
        this.question_desc = question_desc;
    }

    public String getQuestion_data() {
        return question_data;
    }

    public void setQuestion_data(String question_data) {
        this.question_data = question_data;
    }

    public String getTeacher_uid() {
        return teacher_uid;
    }

    public void setTeacher_uid(String teacher_uid) {
        this.teacher_uid = teacher_uid;
    }

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof question_data)) return false;

        question_data data = (question_data) o;

        return question_id != null ? question_id.equals(data.question_id) : data.question_id == null;

    }

    @Override
    public int hashCode() {
        return question_id != null ? question_id.hashCode() : 0;
    }
}
